import { Vec3, _decorator } from "cc";
import { NPrefabKeys } from "../../GameConst";
import IBaseCollectController from "../IBaseCollectController";
const { ccclass, property,executeInEditMode,uniquelyReferenced } = _decorator;


@ccclass('IWoodController')
export class IWoodController extends IBaseCollectController{

    initData(pos:Vec3){
        this.goods = NPrefabKeys.木材;
        pos = Object.assign(new Vec3,pos);
        this.node.position = pos.clone();
    }

}
